home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Environments
/
PowerFantasm™ 4.19a
/
Beginners guide
/
PPC Examples
/
PPC_Ex_2.s
< prev
next >
Wrap
Text File
|
1996-06-15
|
505b
|
14 lines
includeh ls_ppc_macros.def *the macros we need
includeh general_usage.def *some handy definitions
**Beginners guide to PowerPC assembly language.
**Example 2 - Big loop with just a No OPeration.
**(C) Lightsoft 1996.
**Program to loop.
start_up *the start_up macro as detailed above - sets up the toc etc
lis r3,0x0fff *load fff into upper 16 bits of r3, replaces above two lines
mtctr r3
loop: nop
bdnz loop
tidy_up *clear up processors registers and get ready to exit
blr *back to system.